"""
    计算圆的面积
"""
import math


def calculate_circle_area(radius):
    return math.pi * radius ** 2


radius = float(input("请输入圆的半径："))
area = calculate_circle_area(radius)
print(f"半径为 {radius} 的圆的面积是：{area:.2f}")
